import { createRouter, createWebHistory } from 'vue-router'
import routeas from "./routes"
import routerL from './routerL'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  
  routes: [
    
    ...routerL,
    ...routeas,


    {
      path:"/:pathMatch(.*)*",
      name:'not found',
      component:()=>import('@/views/NotFound/index.vue')
    }
  ],
 
})

export default router
